/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 * @Author Gimbet
 */
import java.io.*;

public class Cancion implements Serializable {
    private int ID;
    private String title;
    private String creator;
    private String local;
    private String nodo;
    private String nodoIP;

    public Cancion(int ID, String title, String creator, String local, String nodo,String nodoIP) {
        this.ID = ID;
        this.title = title;
        this.creator = creator;
        this.local = local;
        this.nodo = nodo;
        this.nodoIP = nodoIP;
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getLocal() {
        return local;
    }

    public void setLocal(String local) {
        this.local = local;
    }

    public String getNodo() {
        return nodo;
    }

    public void setNodo(String nodo) {
        this.nodo = nodo;
    }

    public String getNodoIP() {
        return nodoIP;
    }

    public void setNodoIP(String nodoIP) {
        this.nodoIP = nodoIP;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }



    @Override
    public String toString() {
        return "" + ID + " \t " + creator + " \t " + title + " \t "+ nodo+ " \t "+ nodoIP + " \t "+ local+ "\n";
    }
    

    
}
